#ifndef VEHICLE_H
#define VEHICLE_H

#include <string>
#include "Coord.h"
#include "Util.h"
#include "Drawable.h"

using namespace std;

class Vehicle : public Drawable {
    private:
        int id;
        float speed;
        float acceleration;
		int choice;
		Coord* posPrec;
		bool canMove;
		float delay;
		int sens;

    public:
        Vehicle();
        Vehicle(int, float, float, float, float, EModel, float);

        int getId() const;
        void setId(int id);
		float getDelay() const;
        void setDelay(float delay);
        float getSpeed() const;
        void setSpeed(float speed);
		Coord* getPosPrec() const;
        void setPosPrec(Coord* posPrec);
        float getAcceleration() const;
        void setAcceleration(float acceleration);
		bool getCanMove() const;
        void setCanMove(bool move);
		int getChoice() const;
        void setChoice(int chhoice);
        void toString();
		bool collisionDetection(Vehicle*);
		int getSens();
		void setSens(int);
};

#endif
